package com.bw.mapper;

import com.bw.entity.User;
import com.bw.entity.UserQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    List<User> selectAll();

    User selectByName(@Param("username") String username);

    List<User> selectByFuzzy(UserQuery query);
}
